8b01930b984eeeb24a0e8b91b1e002e644fe9ab8,data-fabric/src/main/java/com/continuuity/data2/datafabric/dataset/service/executor/InMemoryDatasetOpExecutor.java,InMemoryDatasetOpExecutor,drop,#DatasetSpecification#DatasetTypeMeta#,50
Before Change
@Override
public void drop(DatasetSpecification spec, DatasetTypeMeta typeMeta) throws Exception {
DatasetDefinition def = client.getDatasetDefinition(typeMeta, null);
if (def == null) {
throw new IllegalArgumentException("Dataset type cannot be instantiated for provided type meta: " + typeMeta);
After Change
@Override
public void drop(DatasetSpecification spec, DatasetTypeMeta typeMeta) throws Exception {
DatasetDefinition def = client.getDatasetDefinition(typeMeta, null).getFirst();
if (def == null) {
throw new IllegalArgumentException("Dataset type cannot be instantiated for provided type meta: " + typeMeta);